/*can't trust ie domReady event, falling back to the onLoad*/
var prevFireDomReadyHandlers = function(){};
if (typeof(Wicket) != "undefined" && typeof(Wicket.Browser) != "undefined") {
	if(!Wicket.Browser.isGecko()){
		prevFireDomReadyHandlers = Wicket.Event.fireDomReadyHandlers;
		 /*replace fire dom ready handler for empty function*/
		Wicket.Event.fireDomReadyHandlers = function(){};			
	}
}

addOnLoadObserver(
	function(){
    		/*restore fireDomReadyHandlers*/
		if (typeof(Wicket) != "undefined" && typeof(Wicket.Browser) != "undefined") {
			Wicket.Event.fireDomReadyHandlers = prevFireDomReadyHandlers;
			prevFireDomReadyHandlers();
		}		
	}
);
